{ebcms:recommend mark='index_slide' limit='5' return='data'/}
{notempty name='data'}
<div class="banner">
    <ul>
    {foreach name='data' item='vo'}
        <li style="background-image: url('/upload/{$vo.thumb}')"></li>
    {/foreach}
    </ul>
</div>
<script type="text/javascript" src="/assets/js/unslider.min.js"></script>
<script>
    $('.banner').unslider({
        arrows: false,
        // fluid: true,
        dots: true
    });
</script>
{/notempty}